package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.UserDao;
import com.kaishengit.entity.User;

public class UserService {

	public List<User> findAll() {
		return new UserDao().findAll();
	}

	public User getname(String id) {
		return new UserDao().getname(id);
	}

	public List<User> findByProId(String proId) {
		return new UserDao().findByProId(proId);
	}

}
